Project file read/write cleanup