Reenabled the search for files in samples of a study, further more improved the searching for accesible files.