Remove unused use statements and fix the file permissions