adding a method for time comparisons with remote file