File should exist robot framework. For exaple you can use keyword like: Wait Until Created or.