load files in folder passes as first parameter