Added read() and write() functions; Fixed bug in is_file(); Added -f flag to remove_self()