fileApi.check_space() logic change

check_space() now displays error and exits instead of returning the
value of free space needed
Input file(s) existence check + disk space check

Added code to check for existence of input file(s) and also check for
disk space based on sum(input_file_sizes)