Puts files at their right places