removed file causing generate pdf not to function