Support printing filenames

Support printing filenames through argument when outputting messages in addition to hex numbers