example with File - temporary