Put validations for presence of necessary files
Fixed minor bug in plot1.R