Stored files in the wrong directory