Fixed issue where files in directory were not editable