readFile.m working version for single and multiple file input