parsing file name into vars