Iteration through files and directories and saving results. TODO: GUI.