Skeleton for file tests

WIP
#5329