Host or file path must not be empty