added initial file type support