Don't make assumptions about file extensions