Change file require to be dynamic