use pelican_open in order to read the file