fixed no file loading error

Signed-off-by: Andrew <ndrewniklas@gmail.com>