Possibly fixed the unlink file method
Updated formatting
Minor change