Remove absolute path and take series list file as an argument