well done

, but file functions (as well as many other) may be used directly from windows API dlls.
example of file copy function import:
#import "Kernel32.dll"
bool CopyFileA (string source_file, string destination_file, bool if_exist);
with DLLs you can do a lot of things, like SQL database access and so on.