Cleaning up the directory. Finalizing work