def new_file(new_name=false, body)
      f_name = new_name || file_name_with_path
      File.open(f_name, "w") { |line|
        line.write(body)
        line
      }
    end
def new_file(new_name=false, body)
      f_name = new_name || file_name_with_path
      File.open(f_name, "w") { |line|
        line.write(body)
        line
      }
    end
Creates a new file, saves it based on
 root_path provided.
 NOTE: Ruby File#open when called with a block closes
 file stream for us.
 This is not compartible with Ruby 1.8.7.