photo filename can contains dir separators