Re-fixed bug related to path files with spaces

Signed-off-by: Herbert <herberthb12@gmail.com>