Added functions in readImageFile.py