trash_dir method extraction

This extracts a trash_dir method and uses File.read instead of File.new.