added lines to file operations
another initialization of i_private, a few more changes