Added a way to check if the file/photo is processed.