added a few file operations
updated