straight from paperclip. looks like when `file` returns something in braces it will be discarded, which is fine imo.