Set directory and load files