Removed the constructor who took a file object as parameter and pending methods