implemented more file apis

implemented reading and writing bytes to a file, and copying, moving, and deleting files