refactor file_utility.rb, remove debugger statements