fixing file directories