It's not ideal to hard-code a filename into a program like this, but you do have it working. The trouble is it only works for one specific filename.