Load spec if its path is provided.