Running bash scripts within newly created folders based on file names
===

I'm not sure even where to start. 

I have a list of output files from a program, lets call them foo. They are numbered outputs like foo_1.out

I'd like to make a directory for each file, move the file to its directory, run a bash script within that directory, take the output from each script, copy it to the root directory as a concatenated single file. 

I understand that this is not a forum for "hey, do my work for me", I'm honestly trying to learn. Any suggestions on where to look are sincerely appreciated! 

Thanks!