fixing file ordering