Add function for checking that file inputs are specified
Fixed bug in handling floating pages