A 58-year-old man has been charged after allegedly filming a teenage girl at a beach toilet block.