Added symlink handling and fileops