fixed bug where it was reading files wrong
- ignore lines with "#" 
- grab params at bottom of loop also