Moves file loading from dev to environment