Allow passing the filename as an argument