added new file utility -preparing for refactor