Removes old files
Implements loading spinner