Use File instead of FileTest