Increased margin threshold for token expiry to 30 seconds.
Checking for empty character vector (length < 1 or NULL) for specified file to save token to.