Using labels to identify the original file type. Best practice on
filetype identification. Changes on database to store the file type as a
integer instead a String.