$csv_file_path = storage_path('files/data/').$request->filename; It returns path like C:\wamp64\www\project\storage/files/
data/5af9b0c1cfa8f.csv
But with error, C:\wamp64\www\project\storage/files/
contribution/5af9b0c1cfa8f.csv: failed to open stream: No such file or directory
That doesn't make sense. Those are 2 different paths. How do you get the 2nd path that you showed when using the $csv_file_path variable, which shows a different directory? One path contains data while the other contains contribution?