Fixes bug where access_token is not properly retrieved from file.