added fotofile extension reading.