Corrects files from incorrectly shutting down server