```ruby
module UploadProcessable
  extend ActiveSupport::Concern

  protected

    def store_uploaded_file(uploaded)
      file_name = "#{controller_name}-#{SecureRandom.uuid}-#{uploaded.original_filename}"
      stored_path = Rails.root.join('tmp', 'uploads', file_name).to_s

      FileUtils.mkdir_p(File.dirname(stored_path), mode: 0755)
      File.open(stored_path, 'wb') do |file|
        file.write(uploaded.read)
      end

      stored_path
    end

end
```

Remove filename for security reasons.
user
```ruby
module UploadProcessable
  extend ActiveSupport::Concern

  protected

    def store_uploaded_file(uploaded)
      file_name = "#{controller_name}-#{SecureRandom.uuid}"
      stored_path = Rails.root.join('tmp', 'uploads', file_name).to_s

      FileUtils.mkdir_p(File.dirname(stored_path), mode: 0755)
      File.open(stored_path, 'wb') do |file|
        file.write(uploaded.read)
      end

      stored_path
    end

end
```
assistant