Got autodetect content type working for files