refactor requirement file