Test file paths before attempting any IO