source files and input params parsing