testing using filename instead of file path