refactor - deleting files