Error: null filesize or wrong file path