Thows exception is samples_file doesn't exist