moves file to public folder