Think I got it to only declare photo as taken when the file is finished being created