If we cannot find the type of the file we will not add it to the database