UPDATED fromFile(): appends IMAGE_FILE extension