Corrected permissions on files as they were too open