Add error if file not found

Signed-off-by: Aniket Pant <me@aniketpant.com>