Removed File.basename stripping of filename

Removed file.baseline stripping of the params[:file_name] so that a new file can be created in a specified directory.