used fullfile() to ensure successful path concatenation