changed main to return int part of generated filenames