-Performance enhancement (don't use "file" command unnecessarily) -replace print statements with logging