Resolution now takes the filename as a command line parameter