Actually check `validate_filepath` param