creating a motn file outside of motion