Cleans up files structure