what does As #1 stand for?
As #1
It's the file number - see here. Looks like you should request this number using another function.
It's a file number.
Using file numbers is the "old BASIC" way of doing file I/O. Consider using the FileSystemObject classes instead.