simple file resource example