move path ex to its own file