Update file type handling.