added check for filename when loading, corrected invalid arguments for --int