By default, Webwork does NOT show students problem filenames. In general, it is wise to preserve this behavior. However, if the filenames for your Webwork problems contain useful information (e.g., if they all point to problems in the same textbook), you can allow students to see problem filenames by following these steps:
"username1", "username2", "username3", "username4"
$pg{specialPGEnvironmentVars}{PRINT_FILE_NAMES_FOR} = ["username1", "username2", "username3", "username4"];