echo 'Opening FILENAME' message before opening file