Pass location file location as input