Used fullfile() to increase robustness