Checking http status with file import